﻿using System;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using 提取字段;

namespace TestProject
{
    public class Program
    {
        static void Main(string[] args)
        {
            var attribs=new List<string>();
            var attributes = new Attr().GetType().GetProperties();
            foreach (var attr in attributes) 
            {
                attribs.Add(attr.Name);
            }
            var filePath ="C:\\Users\\limeng\\Desktop\\1.txt";
            foreach (var attr in attribs)
            {
                File.AppendAllText(filePath,"\r\n"+attr);
            }
            Console.WriteLine("执行完成");
        }
    }
}
